Search results
1312 packages found
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Get the native type of a value.
Simply check if your array, object, nested stuff, string, number, etc are empty or not.
Test if a value is a number.
Provides calculation functions related to complex numbers.
JavaScript library for efficient prime number detection and arithmetic, with customizable algorithms for large numbers.
Test if a double-precision floating-point numeric value is NaN.
- stdlib
- stdmath
- assertion
- assert
- utilities
- utility
- utils
- util
- math
- mathematics
- ieee754
- floating-point
- float
- number
- View more
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
Checks if a number is prime or not
Returns `true` if the value is a primitive.
check-stats-modules(csm) is is a CLI application that obtains the specified npm module's stats. After specifying the module name and period, the number of downloads during that period is acquired and displayed on the terminal.
Test if a double-precision floating-point numeric value is infinite.
- stdlib
- stdmath
- assertion
- assert
- utilities
- utility
- utils
- util
- math
- mathematics
- ieee754
- floating-point
- float
- double
- View more
Test if a value is a number having a nonnegative value.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- number
- numeric
- nonnegative
- is
- isnumber
- isnumeric
- View more
Test if a value is a number having a positive value.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- number
- numeric
- positive
- is
- isnumber
- isnumeric
- View more
Test if a value is a number having a positive integer value.
Test if a value is a number having a nonnegative integer value.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- number
- numeric
- integer
- int
- nonnegative
- is
- View more
Test if a value is a number having an integer value.
Test if a value is an array-like object of numbers.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- array
- array-like
- is
- number
- numeric
- isnumber
- View more
A function that deterministically checks if a number is prime.
Get a default number when a number is a non-number, a NaN or out of range.